/*
 * @Autor: 张小鹏
 * @Date: 2020-04-16 19:59:30
 * @LastEditors: 张小鹏
 * @LastEditTime: 2020-04-23 16:11:31
 * @description:
 */
/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'
const _import = require('../_import_' + process.env.NODE_ENV)
export const routerMap = {
  path: '/table',
  component: Layout,
  redirect: '/table/complex-table',
  name: 'Table',
  meta: {
    title: '自定义组件',
    icon: 'table'
  },
  children: [
    {
      path: 'virtual-table',
      component: _import('table/ftotable/ftotabledemo'),
      name: 'virtualtable',
      meta: { title: '虚拟滚动表格' }
    },
    {
      path: 'orgSelect',
      component: _import('orgSelect/index'),
      name: 'orgSelect',
      meta: { title: '定制版cascader' }
    },
    {
      path: 'virtualSelect',
      component: _import('ftoselect/index'),
      name: 'virtualSelect',
      meta: { title: '虚拟滚动select' }
    },
    {
      path: 'TreeSelect',
      component: _import('treeselect/index'),
      name: 'TreeSelect',
      meta: { title: 'TreeSelect选择器' }
    },
    {
      path: 'EditTable',
      component: _import('EditTable/index'),
      name: 'EditTable',
      meta: { title: '可编辑表格' }
    },
    {
      path: 'universatable',
      component: _import('EditTable/universatable'),
      name: 'universatable',
      meta: { title: '简单封装表格' }
    }
  ]
}

